package com.agileai.bpm.bizmoduler.emulation;

import com.agileai.common.KeyGenerator;
import com.agileai.domain.DataParam;
import com.agileai.hotweb.bizmoduler.core.StandardServiceImpl;

public class WfEmulationManageImpl extends StandardServiceImpl 
	implements WfEmulationManage {
	
	public WfEmulationManageImpl(){
		super();
	}

	@Override
	public void createDraftRecord(DataParam draftParam, String recordId) {
		String statementId = sqlNameSpace+"."+"insertDraftRecord";
		draftParam.put("WWD_ID",KeyGenerator.instance().genKey());
		this.daoHelper.insertRecord(statementId, draftParam);
	}
}
